#!/lusr/bin/bash

rm LocomotionLearner.o

cd ../../RL_Toolbox_32

source project_directories.sh

cd ../LocomotionLearner/src/

g++ -Wl,-O1 -lglut -lGL -lGLU -lSDL -lode -ltorch  -L "." -L/u/varunjn/RL/RL_Toolbox_32/external_libs/torch3/lib/Linux_OPT_DOUBLE -lnewmat -L/u/varunjn/RL/RL_Toolbox_32/external_libs/newmat11/lib -lrltoolbox -L/u/varunjn/RL/RL_Toolbox_32/lib -L/u/varunjn/RL  -I/usr/share/qt4/mkspecs/linux-g++ -I/u/varunjn/RL/opal-0.4.0-src/src -I. -I/u/varunjn/RL/RL_Toolbox_32/external_libs/torch3/include -I/u/varunjn/RL/RL_Toolbox_32/external_libs/newmat11 -I/u/varunjn/RL/RL_Toolbox_32/include -o LocomotionLearner.o LocomotionLearner.cpp simworld.cpp Timer.cpp bitmap.cpp creature.cpp SimAgent.cpp SimAction.cpp SimEnvironment.cpp SimRewardFunction.cpp -lopal_basic -lpthread

LocomotionLearner.o $*
